package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.commmon.HeemoneyProviderQueryCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyProviderQueryBusinessDTO;

/**
 * @api {post}
 * @apiExample author zhaopengjun
 * tar
 * date   2019/12/3 20:15
 * @apiGroup
 * @apiVersion 1.0.0
 * @apiHeader
 * @apiParam
 * @apiSuccess
 */
public class HeemoneyProviderQueryParamDTO extends BaseHeemoneyParamDTO<HeemoneyProviderQueryCommonDTO, HeemoneyProviderQueryBusinessDTO> {
    /**
     *公共参数
     */
    private HeemoneyProviderQueryCommonDTO heemoneyProviderQueryCommonDTO;

    /**
     * 业务参数
     */
    private HeemoneyProviderQueryBusinessDTO heemoneyProviderQueryBusinessDTO;
    public HeemoneyProviderQueryParamDTO(HeemoneyProviderQueryCommonDTO heemoneyProviderQueryCommonDTO, HeemoneyProviderQueryBusinessDTO heemoneyProviderQueryBusinessDTO) {
        super(heemoneyProviderQueryCommonDTO, heemoneyProviderQueryBusinessDTO);
        this.heemoneyProviderQueryCommonDTO = heemoneyProviderQueryCommonDTO;
        this.heemoneyProviderQueryBusinessDTO = heemoneyProviderQueryBusinessDTO;
    }

    public void setHeemoneyProviderQueryCommonDTO(HeemoneyProviderQueryCommonDTO heemoneyProviderQueryCommonDTO) {
        this.heemoneyProviderQueryCommonDTO = heemoneyProviderQueryCommonDTO;
    }

    public void setHeemoneyProviderQueryBusinessDTO(HeemoneyProviderQueryBusinessDTO heemoneyProviderQueryBusinessDTO) {
        this.heemoneyProviderQueryBusinessDTO = heemoneyProviderQueryBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyProviderQueryCommonDTO.signStr();
    }

    @Override
    protected HeemoneyProviderQueryBusinessDTO getBusinessDTO() {
        return heemoneyProviderQueryBusinessDTO;
    }

    @Override
    protected HeemoneyProviderQueryCommonDTO getCommonDTO() {
        return heemoneyProviderQueryCommonDTO;
    }
}
